package com.itc.dispatch.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.itc.common.core.validate.Add;
import com.itc.common.core.validate.Update;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 *
 * @TableName tag_entering
 */
@TableName(value ="tag_entering")
@Data
public class TagEntering implements Serializable {
    /**
     * 标签录入详细记录id
     */
    @TableId(type =IdType.ASSIGN_ID)
    @ApiModelProperty("标签录入详细记录id")
    private Long id;

    /**
     * 航班运行主键id
     */
    @ApiModelProperty("航班运行主键id")
    @NotBlank(message = "航班运行主键id不能为空",groups = { Add.class})
    private String flightId;

    /**
     * 标签名称
     */
    @ApiModelProperty("标签名称,多个用逗号隔开")
    @NotBlank(message = "标签名称不能为空",groups = { Add.class})
    private String tagName;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
